Skip to main content

Show Window

AutomatR.Windows.Activities.ShowWindow

The "Show Window" activity in AutomatR for Windows Automation enables the display and focus of a designated window. This activity is useful for bringing attention to a specific application window during an automation workflow.

Properties

NameDescription
Input
Process NameEnter the process name of the window app that needs to be shown.
Process TitleEnter the process title of the window app that needs to be shown.
Display TitleEnter the title of the window app that needs to be shown.
WindowEnter the window variable for the app that needs to be shown.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the "Show Window" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Show Window" activity onto the workflow.
  2. Configure the properties by providing the process name, process title, display title, or window variable based on the criteria to identify the target window.
  3. Optionally, configure the Delay property.
  4. Execute the workflow to display and bring focus to the designated window.

Example: Consider an example where the "Show Window" activity is used to bring focus to a Notepad window:

Show Window:
Process Name: "notepad"
Delay: 2

In this example, the activity brings focus to the Notepad window with a 2-second delay before the operation.